package com.xingxing.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * @program: IPersistence_test
 * @description:
 * @author: xinghaozhao
 * @create: 2020-08-21
 */
public class Configuration {

    // 数据源
    private DataSource dataSource;

    /**
     * key: statementId value:封装好的MapperdStatement对象
     * */
    Map<String,MapperdStatement> mapperdStatementMap = new HashMap<>();

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MapperdStatement> getMapperdStatementMap() {
        return mapperdStatementMap;
    }

    public void setMapperdStatementMap(Map<String, MapperdStatement> mapperdStatementMap) {
        this.mapperdStatementMap = mapperdStatementMap;
    }
}
